package org.dawning.shop.common.commands.product;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;
import org.dawning.shop.common.domain.product.Product;
import org.dawning.shop.common.domain.product.ProductItem;
import org.dawning.shop.common.domain.product.ProductId;

import java.util.Map;

/**
 * Created by miou on 2017/6/8 0008.
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateProductCommand {

    @TargetAggregateIdentifier
    private String productId;
    private Product product;
}
